<?php
$oMissions = MissionHandler::getMissions($_SESSION['iJobID']);
?>
<div id="layer_mission_delete" class="hidden" style="visibility: visible;">
<form action="index.php" method="post" name="form_mission_delete">
<input type="hidden" name="sAction" value="mission-delete">
<input type="hidden" name="iMissionID" value="<?php print $_REQUEST['iMissionID'] ?>">
<table class="boxborder" cellspacing="0">
	<tr>
		<td class="boxhandle" colspan="2"><?php print msg('Delete task') ?></td>
	</tr>
	<tr>
		<td class="fieldname"><?php print msg('Task') ?>:</td>
		<td class="fieldvalue"><input type="text" size="60" value="<?php print str_replace('"', '&quot;', $oMissions[$_REQUEST['iMissionID']]->sTodo) ?>" disabled></td>
	</tr>
	<tr>
		<td class="boxbody" style="text-align: center;" colspan="2">
			<?php print msg('Are you sure you want to delete this task along with its log and notes?') ?>
		</td>
	</tr>
	<tr>
		<td class="boxbody" style="text-align: center;" colspan="2">
			<input type="submit" value="<?php print msg('OK') ?>">
			<input type="button" value="<?php print msg('Cancel') ?>" id="focus_mission_delete" onClick="layerHide('layer_mission_delete');">
		</td>
	</tr>
</table>
</form>
</div>
